package com.training.content.domain;

import com.training.common.annotation.Excel;
import com.training.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 行业信息对象 industry_type
 * 
 * @author training
 * @date 2021-10-25
 */
public class IndustryType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long industryId;

    /** 行业名称 */
    @Excel(name = "行业名称")
    private String industryName;

    /** 级别 */
    @Excel(name = "级别")
    private Long levelType;

    /** 上一级id */
    @Excel(name = "上一级id")
    private Long parentId;

    /** 级联id,逗号隔开 */
    @Excel(name = "级联id,逗号隔开")
    private String cascadeId;

    public void setIndustryId(Long industryId) 
    {
        this.industryId = industryId;
    }

    public Long getIndustryId() 
    {
        return industryId;
    }
    public void setIndustryName(String industryName) 
    {
        this.industryName = industryName;
    }

    public String getIndustryName() 
    {
        return industryName;
    }
    public void setLevelType(Long levelType) 
    {
        this.levelType = levelType;
    }

    public Long getLevelType() 
    {
        return levelType;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setCascadeId(String cascadeId) 
    {
        this.cascadeId = cascadeId;
    }

    public String getCascadeId() 
    {
        return cascadeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("industryId", getIndustryId())
            .append("industryName", getIndustryName())
            .append("levelType", getLevelType())
            .append("parentId", getParentId())
            .append("cascadeId", getCascadeId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
